package com.github.tj123.frame.service;

import com.github.tj123.frame.common.page.PageRequest;
import com.github.tj123.frame.common.page.PageResponse;
import com.github.tj123.frame.pojo.po.SDepPo;

import java.util.Map;

public interface SDepService {

    PageResponse<Map<String, Object>> list(PageRequest request) throws Exception;

    PageResponse<SDepPo> list2(PageRequest request) throws Exception;

    void add(SDepPo po) throws Exception;

    void edit(SDepPo po) throws Exception;

    void del(String id) throws Exception;


}
